@extends('base')
@section('css')
    <link rel="stylesheet" type="text/css" href="{{'/css/core.css'}}">
    @stop
@section('content')
<!------banner 结束------------>
<div class="mainBox">
    <div class="menuBox menuBox_1">
        <div class="menuRight">
            <div class="subNav">
                <a href="index.html">首页</a> &gt;
                <a href="#">作品展示</a> &gt;
                <a href="#" class="current">新娘妆培训</a>
            </div>
            <div class="abuotBox">
                <ul class="course_box">
                    @foreach($data as $key=>$item)
                    <li>
                        <?php $model = json_decode($item->content); ?>
                        <a href="">
                            <div class="course-t">
                                <span><img src="{{asset('img/course-'.$model->pic.'/260-299')}}"></span>
                                <p>影楼新娘造型班</p>
                                <p>
                                    <a href="{{url('/courses/classs/'.$item->id)}}" class="btn-class1" target="_black">详细课程</a>
                                </p>
                            </div>
                        </a>
                    </li>
                    @endforeach
                </ul>
                <div style="clear :both";> </div>
                @if ($data->hasPages())
                    <div class="pagelist" style="text-align: center;">
                        {!! $data->appends($param)->render() !!}
                    </div>
                @endif

            </div>
        </div>
    </div>
</div>
@stop